//
//  TweetView.h
//  Echo
//
//  Created by Cospring on 14/12/18.
//  Copyright (c) 2014年 sina. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Tweet, bottomCommentBar;

@protocol TweetVCCommentDelegate <NSObject>

- (void)showCommentVC:(Tweet *)tweet;

@end

@interface TweetView : UIView

@property (strong, nonatomic) Tweet* tweet;

@property (strong, nonatomic) UIScrollView *tweetScrollView;
@property (strong, nonatomic) UIView *contentView;

@property (strong, nonatomic) UILabel *tweetLabel;
@property (strong, nonatomic) UILabel *authorNameLabel;
@property (strong, nonatomic) UILabel *timeLabel;
@property (strong, nonatomic) NSMutableArray *imageViewList;
//@property (strong, nonatomic) UIView *infoView;
@property (strong, nonatomic) bottomCommentBar *commentBar;


@property (strong, nonatomic) UIView *commentView;
@property (strong, nonatomic) UIView *favorView;

@property (strong, nonatomic) UIView *infoView;



@property (strong, nonatomic) UIView *buttomWrapView;

@property (readonly) CGFloat viewHeight;

- (instancetype)initWithFrame:(CGRect)frame tweet:(Tweet *)tweet;

- (TweetView *)changeTweet:(Tweet *)tweet;

@property (strong, nonatomic) id<TweetVCCommentDelegate> commentDelegate;

@end









